Home dashboard
Home > Overview header tiles (Yesterday, Revenue MTD, Tracking to)
Returns the three tiles that sit above the trend chart on the Home > Overview tab. One request → one visual card, so the frontend refetches all three together on a single polling cadence.
GET
/
api
/
v202604
/
analytics
/
dashboard
/
header
Home > Overview header tiles (Yesterday, Revenue MTD, Tracking to)
curl --request GET \
--url https://api.fluid.app/api/v202604/analytics/dashboard/header \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202604/analytics/dashboard/header"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v202604/analytics/dashboard/header', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/v202604/analytics/dashboard/header",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v202604/analytics/dashboard/header"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fluid.app/api/v202604/analytics/dashboard/header")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/analytics/dashboard/header")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"yesterday": {
"revenue": "4218.75",
"orders_count": 67,
"typical_revenue": "3890.4",
"currency": "USD",
"sparkline": [
{
"date": "2026-09-03",
"revenue": "3342.9"
},
{
"date": "2026-09-04",
"revenue": "2988.0"
},
{
"date": "2026-09-05",
"revenue": "2410.55"
},
{
"date": "2026-09-06",
"revenue": "2655.2"
},
{
"date": "2026-09-07",
"revenue": "3518.75"
},
{
"date": "2026-09-08",
"revenue": "3904.1"
},
{
"date": "2026-09-09",
"revenue": "4218.75"
}
]
},
"mtd": {
"revenue": "31020.15",
"orders_count": 498,
"currency": "USD"
},
"tracking_to": {
"projected_revenue": "93060.45",
"currency": "USD",
"algorithm": "linear",
"days_elapsed": 10,
"days_in_month": 30
},
"meta": {
"request_uuid": "8b21e4d0-6a3f-4c9e-b7d2-15f0a9c3e642",
"timestamp": "2026-09-10T15:42:07Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}Authorizations
Query Parameters
ISO alpha-2 code of one of the requesting company's configured
countries (see GET /countries). When present, every service
on this endpoint filters its data to that country and reports
money in the country's own currency. Omit (or send "all")
for the aggregate-across-countries view, which is the default
and matches pre-Phase-004 behavior. Unknown ISO codes or ones
the company is not configured for return 400.
Example:
"US"
⌘I
Home > Overview header tiles (Yesterday, Revenue MTD, Tracking to)
curl --request GET \
--url https://api.fluid.app/api/v202604/analytics/dashboard/header \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/v202604/analytics/dashboard/header"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/v202604/analytics/dashboard/header', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/v202604/analytics/dashboard/header",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/v202604/analytics/dashboard/header"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fluid.app/api/v202604/analytics/dashboard/header")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v202604/analytics/dashboard/header")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"yesterday": {
"revenue": "4218.75",
"orders_count": 67,
"typical_revenue": "3890.4",
"currency": "USD",
"sparkline": [
{
"date": "2026-09-03",
"revenue": "3342.9"
},
{
"date": "2026-09-04",
"revenue": "2988.0"
},
{
"date": "2026-09-05",
"revenue": "2410.55"
},
{
"date": "2026-09-06",
"revenue": "2655.2"
},
{
"date": "2026-09-07",
"revenue": "3518.75"
},
{
"date": "2026-09-08",
"revenue": "3904.1"
},
{
"date": "2026-09-09",
"revenue": "4218.75"
}
]
},
"mtd": {
"revenue": "31020.15",
"orders_count": 498,
"currency": "USD"
},
"tracking_to": {
"projected_revenue": "93060.45",
"currency": "USD",
"algorithm": "linear",
"days_elapsed": 10,
"days_in_month": 30
},
"meta": {
"request_uuid": "8b21e4d0-6a3f-4c9e-b7d2-15f0a9c3e642",
"timestamp": "2026-09-10T15:42:07Z"
}
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"request_id": "<string>",
"request_uuid": "<string>"
}
}